package com.hfjava.ebook.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/frontend")
public class IndexController {

    @RequestMapping("/index")
    public String toIndex(){
        return "Hello Spring Boot!!";
    }
}
